package com.hp.domain;

import java.util.HashSet;
import java.util.Set;

/**
 * TRole entity. @author MyEclipse Persistence Tools
 */

public class TRole implements java.io.Serializable {

	// Fields

	private Integer id;
	private String roleName;
	private Set TPermissions = new HashSet(0);
	private Set TUsers = new HashSet(0);

	// Constructors

	/** default constructor */
	public TRole() {
	}

	/** full constructor */
	public TRole(String roleName, Set TPermissions, Set TUsers) {
		this.roleName = roleName;
		this.TPermissions = TPermissions;
		this.TUsers = TUsers;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getRoleName() {
		return this.roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public Set getTPermissions() {
		return this.TPermissions;
	}

	public void setTPermissions(Set TPermissions) {
		this.TPermissions = TPermissions;
	}

	public Set getTUsers() {
		return this.TUsers;
	}

	public void setTUsers(Set TUsers) {
		this.TUsers = TUsers;
	}

}